package com.cait.cait.resultMsgUtil;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@PropertySource("classpath:properties/return-msg.properties")
@Component
@ConfigurationProperties(prefix = "status")
@Data
public class StatusMsgUtil {
    private Integer succeed;
    private Integer incorrectPassword;
    private Integer unknownAccount;
    private Integer unLogin;
    private Integer lockedAccount;
    private Integer jdbcError;
}
